package com.shd.edanpei.presenter.contract;

import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.shd.edanpei.base.BaseIPresenter;
import com.shd.edanpei.base.BaseIView;


public interface LoginContract {

    interface LoginIView extends BaseIView {

        //获取验证码View
        TextView getCAPTCHAView();
        TextView getLoginCode();
    }

    interface LoginIPresenter extends BaseIPresenter {

        //登录
        void login(String phone, String password,int loginType,String checkCode);

        //获取验证码
        void getCAPTCHA(String phone,String uuid,String code);



        //获取登录验证码
        void getLoginCode(String phone,String uuid,String code);

        //注册
        void signUp(String phone, String code, String password1, String password2);

    }
}
